package cn.zhf.shop.service;

import cn.zhf.shop.entity.Bank;
import cn.zhf.shop.entity.Message;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface BankService{


    Message deleteByPrimaryKey(Integer bankId);

    Message insert(Bank record);

    Message<Bank> selectByPrimaryKey(Integer bankId);

    Message updateByPrimaryKey(Bank record);

    Message<List<Bank>> selectAll();

    Message<List<Bank>> search1(String str);


}
